﻿using DataServer.CommonLib.Models.ConfigData;
using Swimj.CommonLib.Base;

namespace Config.RazorLib.Services
{
    public interface IConfigDataService
    {
        // [Post("/api/v1/configDatas")]
        Task<Result<ConfigDataInfoResponseDto>> CreateConfigData(IDictionary<string, object> model);

        // [Get("/api/v1/configDatas")]
        Task<PaginatedResult<ConfigDataInfoResponseDto>> QueryConfigDatasByPage(ConfigDataSearchRequestDto model);
    }
}